﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using RoadTeam.Model;
using RoadTeam.Enums;
using RoadTeam.SysInterface;

namespace RoadTeam.BsSystem.RM
{
    public class RmPavilion_Sys : IRmPavilion
    {
        public DataTable GetPavilionData(String Where)
        {
            SqlWhere where = new SqlWhere();
            where.StrSqlWhere = @"PavilionID in (" + Where + ")";
            where.SelectColumn = @" PavilionID,PavilionIdentifier ";
            return TbRmPavilion.Select(where, GlobalConfig.RtConnectionString);
        }
        public bool UpdatePavilionData(DataTable dt)
        {
            return TbRmPavilion.Update(dt, GlobalConfig.RtConnectionString);
        }
    }
}
